#include <Windows.h>
#include <extend.h>

extern HANDLE _hInstance;

//----------------------------------------------------------------------------//

CLIPPER CREATEWIND() // OW( cClassName, cTitle, nStyle, nLeft, nTop, nWidth,
                     //     nHeight, hWndOwner, hMenu, cExtraData ) --> hWnd
{
   _retnl( ( LONG ) CreateWindowEx( 0,
                                    _parc( 1 ),      // Class
                                    _parc( 2 ),      // Title
                                    _parnl( 3 ),     // Style
                                    _parni( 4 ),     // Left
                                    _parni( 5 ),     // Top
                                    _parni( 6 ),     // Width
                                    _parni( 7 ),     // Height
                           ( HWND ) _parnl( 8 ),     // Parent
                          ( HMENU ) _parnl( 9 ),     // Menu
                                    _hInstance,
   ( _pcount() > 9 ) ? ( void * ) _parc( 10 ): 0 ) ); // Address Window-Creation-Data
}

//----------------------------------------------------------------------------//
